package br.com.diego.system.entity.componente;

import br.com.diego.system.entity.AbstractDiegoEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import org.hibernate.envers.Audited;

@Entity
@Audited
public class Componente extends AbstractDiegoEntity {

    @Column(length = 100, nullable = false, unique = true)
    private String nome;

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }
}
